package cn.edu.fzu.homemaking.api;

import cn.edu.fzu.homemaking.web.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author jiebin
 * @Date 2023/4/6
 */
@FeignClient(name = "user")
public interface UserApi {

    @GetMapping("/api/user/auth/demand/selectById")
    Result selectByDemandId(@Param("id") Long id);
}
